<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>sock</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1619'>sock</a>             1619 lib/vfs/direntry.c vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1627'>sock</a>             1627 lib/vfs/direntry.c         if (read (sock, buf, sizeof (char)) &lt;= 0)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1650'>sock</a>             1650 lib/vfs/direntry.c     while (read (sock, &amp;c, sizeof (c)) &gt; 0)</span>
<span class='curline'><a href='../S/lib--vfs--xdirentry.h.html#L187'>sock</a>              187 lib/vfs/xdirentry.h int vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term);</span>
<span class='curline'><a href='../S/src--vfs--fish--fish.c.html#L244'>sock</a>              244 src/vfs/fish/fish.c fish_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)</span>
<span class='curline'><a href='../S/src--vfs--fish--fish.c.html#L251'>sock</a>              251 src/vfs/fish/fish.c         if (!vfs_s_get_line (me, sock, answer, sizeof (answer), '\n'))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L158'>sock</a>              158 src/vfs/ftpfs/ftpfs.c #define FH_SOCK FTP_FILE_HANDLER(fh)-&gt;sock</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L209'>sock</a>              209 src/vfs/ftpfs/ftpfs.c     int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L230'>sock</a>              230 src/vfs/ftpfs/ftpfs.c     int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L391'>sock</a>              391 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L397'>sock</a>              397 src/vfs/ftpfs/ftpfs.c         if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L420'>sock</a>              420 src/vfs/ftpfs/ftpfs.c                     if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L447'>sock</a>              447 src/vfs/ftpfs/ftpfs.c     int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L449'>sock</a>              449 src/vfs/ftpfs/ftpfs.c     sock = ftpfs_open_socket (me, super);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L450'>sock</a>              450 src/vfs/ftpfs/ftpfs.c     if (sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L454'>sock</a>              454 src/vfs/ftpfs/ftpfs.c         close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L455'>sock</a>              455 src/vfs/ftpfs/ftpfs.c         ftp_super-&gt;sock = sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L463'>sock</a>              463 src/vfs/ftpfs/ftpfs.c             sock = ftpfs_chdir_internal (me, super, cwdir);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L465'>sock</a>              465 src/vfs/ftpfs/ftpfs.c             return (sock == COMPLETE);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L511'>sock</a>              511 src/vfs/ftpfs/ftpfs.c     status = write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L524'>sock</a>              524 src/vfs/ftpfs/ftpfs.c                 if (status != 0 &amp;&amp; (write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len) &gt; 0))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L542'>sock</a>              542 src/vfs/ftpfs/ftpfs.c         status = ftpfs_get_reply (me, ftp_super-&gt;sock,</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L551'>sock</a>              551 src/vfs/ftpfs/ftpfs.c             if (status != 0 &amp;&amp; (write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len) &gt; 0))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L573'>sock</a>              573 src/vfs/ftpfs/ftpfs.c     arch-&gt;sock = -1;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L588'>sock</a>              588 src/vfs/ftpfs/ftpfs.c     if (ftp_super-&gt;sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L592'>sock</a>              592 src/vfs/ftpfs/ftpfs.c         close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L668'>sock</a>              668 src/vfs/ftpfs/ftpfs.c     if (ftpfs_get_reply (me, ftp_super-&gt;sock, reply_string, sizeof (reply_string) - 1) == COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L969'>sock</a>              969 src/vfs/ftpfs/ftpfs.c         ftp_super-&gt;sock = ftpfs_open_socket (me, super);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L970'>sock</a>              970 src/vfs/ftpfs/ftpfs.c         if (ftp_super-&gt;sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L983'>sock</a>              983 src/vfs/ftpfs/ftpfs.c         close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1062'>sock</a>             1062 src/vfs/ftpfs/ftpfs.c         ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, buf, sizeof (buf)) == COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1289'>sock</a>             1289 src/vfs/ftpfs/ftpfs.c         result = getpeername (ftp_super-&gt;sock, (struct sockaddr *) data_addr, data_addrlen);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1291'>sock</a>             1291 src/vfs/ftpfs/ftpfs.c         result = getsockname (ftp_super-&gt;sock, (struct sockaddr *) data_addr, data_addrlen);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1470'>sock</a>             1470 src/vfs/ftpfs/ftpfs.c     if (send (ftp_super-&gt;sock, ipbuf, sizeof (ipbuf), MSG_OOB) != sizeof (ipbuf))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1517'>sock</a>             1517 src/vfs/ftpfs/ftpfs.c     if ((ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) == TRANSIENT) &amp;&amp; (code == 426))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1518'>sock</a>             1518 src/vfs/ftpfs/ftpfs.c         ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1609'>sock</a>             1609 src/vfs/ftpfs/ftpfs.c     int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1618'>sock</a>             1618 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir-&gt;remote_path, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1627'>sock</a>             1627 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (bucket, "LIST -lLa", ".", TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1630'>sock</a>             1630 src/vfs/ftpfs/ftpfs.c     if (sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1636'>sock</a>             1636 src/vfs/ftpfs/ftpfs.c     fp = fdopen (sock, "r");</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1639'>sock</a>             1639 src/vfs/ftpfs/ftpfs.c         close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1706'>sock</a>             1706 src/vfs/ftpfs/ftpfs.c     ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1731'>sock</a>             1731 src/vfs/ftpfs/ftpfs.c     int sock, num_entries = 0;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1753'>sock</a>             1753 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST", 0, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1757'>sock</a>             1757 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1764'>sock</a>             1764 src/vfs/ftpfs/ftpfs.c         sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1768'>sock</a>             1768 src/vfs/ftpfs/ftpfs.c     if (sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1795'>sock</a>             1795 src/vfs/ftpfs/ftpfs.c         res = vfs_s_get_line_interruptible (me, lc_buffer, sizeof (lc_buffer), sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1802'>sock</a>             1802 src/vfs/ftpfs/ftpfs.c             close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1804'>sock</a>             1804 src/vfs/ftpfs/ftpfs.c             ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1831'>sock</a>             1831 src/vfs/ftpfs/ftpfs.c     close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1834'>sock</a>             1834 src/vfs/ftpfs/ftpfs.c     if ((ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) != COMPLETE))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1871'>sock</a>             1871 src/vfs/ftpfs/ftpfs.c     int h, sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1892'>sock</a>             1892 src/vfs/ftpfs/ftpfs.c     sock =</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1894'>sock</a>             1894 src/vfs/ftpfs/ftpfs.c     if (sock &lt; 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1902'>sock</a>             1902 src/vfs/ftpfs/ftpfs.c     setsockopt (sock, SOL_SOCKET, SO_LINGER, (char *) &amp;li, sizeof (li));</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1904'>sock</a>             1904 src/vfs/ftpfs/ftpfs.c     setsockopt (sock, SOL_SOCKET, SO_LINGER, &amp;flag_one, sizeof (flag_one));</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1931'>sock</a>             1931 src/vfs/ftpfs/ftpfs.c         while ((n_written = write (sock, w_buf, n_read)) != n_read)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1951'>sock</a>             1951 src/vfs/ftpfs/ftpfs.c     close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1955'>sock</a>             1955 src/vfs/ftpfs/ftpfs.c     if (ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) != COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1961'>sock</a>             1961 src/vfs/ftpfs/ftpfs.c     close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1965'>sock</a>             1965 src/vfs/ftpfs/ftpfs.c     ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2014'>sock</a>             2014 src/vfs/ftpfs/ftpfs.c         if ((ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, NULL, 0) != COMPLETE))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2246'>sock</a>             2246 src/vfs/ftpfs/ftpfs.c     fh-&gt;sock = -1;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2345'>sock</a>             2345 src/vfs/ftpfs/ftpfs.c         if (ftpfs_get_reply (me, ftp-&gt;sock, NULL, 0) != COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L230'>sock</a>              230 src/vfs/smbfs/helpers/lib/util_sock.c     struct sockaddr_in sock;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L233'>sock</a>              233 src/vfs/smbfs/helpers/lib/util_sock.c     socklen = sizeof (sock);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L234'>sock</a>              234 src/vfs/smbfs/helpers/lib/util_sock.c     memset ((char *) &amp;sock, '\0', socklen);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L236'>sock</a>              236 src/vfs/smbfs/helpers/lib/util_sock.c     ret = (ssize_t) recvfrom (fd, buf, len, 0, (struct sockaddr *) &amp;sock, &amp;socklen);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L243'>sock</a>              243 src/vfs/smbfs/helpers/lib/util_sock.c     lastip = sock.sin_addr;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L244'>sock</a>              244 src/vfs/smbfs/helpers/lib/util_sock.c     lastport = ntohs (sock.sin_port);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L745'>sock</a>              745 src/vfs/smbfs/helpers/lib/util_sock.c     struct sockaddr_in sock;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L763'>sock</a>              763 src/vfs/smbfs/helpers/lib/util_sock.c     memset ((char *) &amp;sock, '\0', sizeof (sock));</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L764'>sock</a>              764 src/vfs/smbfs/helpers/lib/util_sock.c     memcpy ((char *) &amp;sock.sin_addr, (char *) hp-&gt;h_addr, hp-&gt;h_length);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L767'>sock</a>              767 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_len = sizeof (sock);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L769'>sock</a>              769 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_port = htons (port);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L770'>sock</a>              770 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_family = hp-&gt;h_addrtype;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L771'>sock</a>              771 src/vfs/smbfs/helpers/lib/util_sock.c     sock.sin_addr.s_addr = socket_addr;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L789'>sock</a>              789 src/vfs/smbfs/helpers/lib/util_sock.c     if (bind (res, (struct sockaddr *) &amp;sock, sizeof (sock)) &lt; 0)</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--lib--util_sock.c.html#L795'>sock</a>              795 src/vfs/smbfs/helpers/lib/util_sock.c                                 port, inet_ntoa (sock.sin_addr), unix_error_string (errno)));</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L291'>sock</a>              291 src/vfs/smbfs/helpers/libsmb/namequery.c     int sock, i;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L299'>sock</a>              299 src/vfs/smbfs/helpers/libsmb/namequery.c     sock = open_socket_in (SOCK_DGRAM, 0, 3, interpret_addr (lp_socket_address ()), True);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L301'>sock</a>              301 src/vfs/smbfs/helpers/libsmb/namequery.c     if (sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L306'>sock</a>              306 src/vfs/smbfs/helpers/libsmb/namequery.c         set_socket_options (sock, "SO_BROADCAST");</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L316'>sock</a>              316 src/vfs/smbfs/helpers/libsmb/namequery.c             iplist = name_query (sock, name, name_type, True, True, sendto_ip, &amp;count, NULL);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L321'>sock</a>              321 src/vfs/smbfs/helpers/libsmb/namequery.c                 close (sock);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L325'>sock</a>              325 src/vfs/smbfs/helpers/libsmb/namequery.c         close (sock);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L339'>sock</a>              339 src/vfs/smbfs/helpers/libsmb/namequery.c     int sock;</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L364'>sock</a>              364 src/vfs/smbfs/helpers/libsmb/namequery.c         sock = open_socket_in (SOCK_DGRAM, 0, 3, interpret_addr (lp_socket_address ()), True);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L366'>sock</a>              366 src/vfs/smbfs/helpers/libsmb/namequery.c         if (sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L370'>sock</a>              370 src/vfs/smbfs/helpers/libsmb/namequery.c             iplist = name_query (sock, name, name_type, False, True, wins_ip, &amp;count, NULL);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L375'>sock</a>              375 src/vfs/smbfs/helpers/libsmb/namequery.c                 close (sock);</span>
<span class='curline'><a href='../S/src--vfs--smbfs--helpers--libsmb--namequery.c.html#L378'>sock</a>              378 src/vfs/smbfs/helpers/libsmb/namequery.c             close (sock);</span>
</pre>
</body>
</html>
